package com.bys.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bys.system.model.SysRoleModel;
import com.bys.system.model.SysUserModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bys.system.vo.CreateUserVo;
import com.bys.system.vo.SysUserVo;
import com.bys.system.vo.UserInfoVo;

/**
* PackageName:  com.bys.system.service
* ClassName:    ISysUserService
* Description:  用户表 服务接口
* Author:       bys
* Date:         2023-03-31
**/
public interface ISysUserService extends IService<SysUserModel> {

    void deleteLogic(Long id);

    Page<SysUserVo> getUserPage(Integer pageNo, Integer pageSize, SysUserVo sysUserVo);

    void saveUser(CreateUserVo createUserVo);

    UserInfoVo getUserInfo(Long userId);

    SysUserModel getByUsername(String assignee);
}
